export default {
  head: {
    title: "contribute",
    htmlAttrs: {
      lang: "en",
    },
    meta: [
      { charset: "utf-8" },
      { name: "viewport", content: "width=device-width, initial-scale=1" },
      { hid: "description", name: "description", content: "" },
      { name: "format-detection", content: "telephone=no" },
    ],
    link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
  },
  css: ["element-ui/lib/theme-chalk/index.css", "asserts/css/transition.css"],
  plugins: ["./plugins/element-ui.js"],
  components: true,
  buildModules: [],
  modules: ["@nuxtjs/axios"],
  axios: {
    proxy: true,
    prefix: "/api",
  },
  proxy: {
    "/api": {
      target: "http://373919xo13.qicp.vip",
      changeOrigin: true,
      pathRewrite: {
        "^/api": "/",
      },
    },
  },
};
